from django.urls import path
from teacher.auth import TeacherTokenView
from teacher import views

app_name = "teacher"

urlpatterns = [
    path("login", TeacherTokenView.as_view()),
    path("info/index", views.InfoIndexApi.as_view()),
    path("visitor/index", views.VisitorIndexApi.as_view()),
    path("visitor/apply/lst", views.VisitorApplyLstApi.as_view()),
    path("visitor/apply/det", views.VisitorApplyDetApi.as_view()),
    path("visitor/apply/approve", views.VisitorApplyApproveApi.as_view()),
    path("visitor/apply/denial", views.VisitorApplyDenialApi.as_view()),
    path("student/index", views.StudentIndexApi.as_view()),
    path("student/add", views.StudentAddApi.as_view()),
    path("student/invite/det", views.StudentInviteDetApi.as_view()),
    path("student/invite/approve", views.StudentInviteApproveApi.as_view()),
    path("student/invite/denial", views.StudentInviteDenialApi.as_view()),
    path("teacher/index", views.TeacherIndexApi.as_view()),
    path("teacher/person/list", views.TeacherPersonListApi.as_view()),
    path("teacher/person/search", views.TeacherPersonSearchApi.as_view()),
    path("teacher/person/add", views.TeacherPersonAddApi.as_view()),
    path("teacher/person/bind", views.TeacherPersonBindApi.as_view()),
    path("teacher/car/list", views.TeacherCarListApi.as_view()),
    path("teacher/car/search", views.TeacherCarSearchApi.as_view()),
    path("teacher/invite/status", views.TeacherInviteStatusApi.as_view()),
    path("teacher/invite/add", views.TeacherInviteAddApi.as_view()),
    path("teacher/invite/lst", views.TeacherInviteLstApi.as_view()),
    path("teacher/invite/det", views.TeacherInviteDetApi.as_view()),
    path("teacher/invite/approve", views.TeacherInviteApproveApi.as_view()),
    path("teacher/invite/denial", views.TeacherInviteDenialApi.as_view()),
]
